#include "account_service.h"
#include "context.h"
#include "streamdata.h"
#include "log.h"
#include "1700_account.pb.h"




bool AccountService::HandleUpdateAccountToken(std::uint32_t uid, std::string&& token)
{
    account_proto::UpdateAccountTokenReq req;
    req.set_uid(uid);
    req.set_token(std::move(token));
    Ctx.host->MtSendtoSrv(account_proto::ACCOUNT_CMD_UPDATE_ACCOUNT_TOKEN_REQ, SERVER_TYPE_ACCOUNT, &req, 0);
    return true;
}





